import { createRouter, createWebHistory } from 'vue-router';
/**
 * 1、createWebHistory 不带#
 * 2、createWebHashHistory 带#
 * */
const router = createRouter({
    history: createWebHistory(),
    routes: [
        {
            path: '/',
            component: () => import('@/views/Home.vue'),
        },
        {
            path: '/Fish',
            component: () => import('@/components/Fish.vue'),
        },
    ],
});
export default router;
